<div class="wrapper">
  <app-nav-bar></app-nav-bar>
    <app-left-menu></app-left-menu>
    <div class="content-wrapper">
        <div class="content-header">
            <div class="container-fluid">
                <div class="row mb-2">
                    <div class="col-sm-6">
                        <h1 class="m-0">账户资产</h1>
                    </div>
                    <div class="col-sm-6">
                        <ol class="breadcrumb float-sm-right">
                            <li class="breadcrumb-item"><a href="/dashboard">返回</a></li>
                        </ol>
                    </div>
                </div>
            </div>
        </div>
        <div class="content">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="card">
                            <div class="card-header">
                                <h3 class="card-title">资产详情</h3>
                            </div>
                            <div class="card-body">
                                <p><strong>用户名：</strong> {{ username }}</p>
                                <p><strong>余额：</strong> {{ balance | currency:'CNY' }}</p>
                                <p><strong>锁定余额：</strong> {{ lockedBalance | currency:'CNY' }}</p>
                                <p><strong>身份信息：</strong> {{ identity }}</p>
                                <!-- 充值按钮 -->
                                <button class="btn btn-success mt-3" (click)="recharge()">充值</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
